﻿<Window x:Class="Yaam.YaamWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Yaam (Yet Another Ambient Munny)" Height="328" Width="263" ResizeMode="CanMinimize"
    >
    <Grid>
        <Button Height="23" HorizontalAlignment="Left" Margin="18,0,0,42" Name="btnRed" VerticalAlignment="Bottom" Width="75" SnapsToDevicePixels="True" Visibility="Hidden">Red</Button>
        <Button Height="23" Margin="105,0,98,42" Name="btnGreen" VerticalAlignment="Bottom" Visibility="Hidden">Green</Button>
        <Button Height="23" HorizontalAlignment="Right" Margin="0,0,12,42" Name="btnBlue" VerticalAlignment="Bottom" Width="75" Visibility="Hidden">Blue</Button>
        <CheckBox IsChecked="True" Height="16" Margin="18,0,0,20" Name="cbThrob" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="56" Visibility="Hidden">Throb</CheckBox>
        <StackPanel>
            <Grid x:Name="munnyGrid">
                <Border HorizontalAlignment="Center" VerticalAlignment="Center">
                    <Image Height="200" Width="144" Source="pack://application:,,,/munny.png" x:Name="munnyImage" />
                </Border>
                <Ellipse Margin="80,17,79,80" Name="statusCircle" Opacity="0.5" >
                    <Ellipse.Fill>
                        <RadialGradientBrush GradientOrigin="0.7,0.3" Center="0.5,0.5" RadiusX="0.8" RadiusY="0.8">
                            <RadialGradientBrush.GradientStops>
                                <GradientStop Color="White" Offset="0" />
                                <GradientStop Color="Gray" Offset="1" />
                            </RadialGradientBrush.GradientStops>
                        </RadialGradientBrush>
                    </Ellipse.Fill>
                </Ellipse>
            </Grid>
            <Border Height="200" Width="144" Margin="0,-10,0,0">
                <Border.Background>
                    <VisualBrush Visual="{Binding ElementName=munnyGrid}">
                        <VisualBrush.Transform>
                            <ScaleTransform ScaleX="1" ScaleY="-1" CenterX="200" CenterY="94" />
                        </VisualBrush.Transform>
                    </VisualBrush>
                </Border.Background>
                <Border.OpacityMask>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStop Offset="-0.2" Color="Black"></GradientStop>
                        <GradientStop Offset="0.7" Color="Transparent"></GradientStop>
                    </LinearGradientBrush>
                </Border.OpacityMask>
            </Border>
        </StackPanel>
        <Label Name="label1" Margin="139,0,0,9" Height="27" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="48">Status:</Label>
        <TextBlock Height="21" HorizontalAlignment="Right" Margin="0,0,13,9" Name="myStatus" VerticalAlignment="Bottom" Width="49"></TextBlock>
    </Grid>
</Window>
